<form id="ajax_form" onsubmit="return CandidateSite.processSite();">
	<table class="table">
		<tbody>
			<tr>
				<td class="right rlabel"><label for="url"><?php echo $this->lang->line('site_link'); ?>:</label></td>
				<td>
				<input type="text" class="inputdiv" value="<?php echo $url; ?>" id="url" name="url" /></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="idtype"><?php echo $this->lang->line('site_type'); ?>:</label></td>
				<td><div id="siteType"></div></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="description"><?php echo $this->lang->line('site_description'); ?>:</label></td>
				<td>
				<textarea class="inputdiv" id="description" name="description"><?php echo $description; ?></textarea></td>
			</tr>
			<tr>
				<td colspan="2" class="center">
					<label for="btnEnter"><input type="submit" id="btnEnter" class="submit" value="<?php echo $this->lang->line('site_save'); ?>" /></label>
				</td>
			</tr>
		</tbody>
	</table>
	<div id="result_ajax"></div>
	<input type="hidden" value="<?php echo $id_site; ?>" name="idsite" id="idsite" />
</form>
<script type="text/javascript">
CandidateSite.getSiteType();
<?php 
	if (isset($extrascript)) echo $extrascript;
?>
</script>